import request from '../utils/request'

export const getPaperList = (params: any) => {
  return request({
    url: '/paper/testPaper/page',
    params
  })
}

export const togglePaperVideoStatus = (id: number, status: number) => {
  return request({
    url: `/paper/testPaper/modifyVideoStatus/${id}?status=${status}`,
    method: 'put'
  })
}